
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>6-8 python3小白课：解锁你心仪的三方包 · python3小白课笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="雪山凌狐">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-material-light.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-auto-scroll-table/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-ad/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-image-captions/image-captions.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../css/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="6-9 python3小白课：虚拟环境介绍和安装.html" />
    
    
    <link rel="prev" href="6-7 python3小白课：模块内容查看.html" />
    

    
        <link rel="shortcut icon" href='../assets/favicon.ico' type="image/x-icon">
    
    
        <link rel="bookmark" href='../assets/favicon.ico' type="image/x-icon">
    
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://fox-9.com" target="_blank" class="custom-link">雪山凌狐教程</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Python3小白课 介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../Catalog.html">
            
                <a href="../Catalog.html">
            
                    
                    课程目录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../chapter1/">
            
                <a href="../chapter1/">
            
                    
                    一、Python初识
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../chapter1/1-1 python3小白课：python语言简介.html">
            
                <a href="../chapter1/1-1 python3小白课：python语言简介.html">
            
                    
                    1-1 python3小白课：python语言简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../chapter1/1-2 python3小白课：python下载.html">
            
                <a href="../chapter1/1-2 python3小白课：python下载.html">
            
                    
                    1-2 python3小白课：python下载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../chapter1/1-3 python3小白课：python安装.html">
            
                <a href="../chapter1/1-3 python3小白课：python安装.html">
            
                    
                    1-3 python3小白课：python安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../chapter1/1-4 python3小白课：我的第一个python脚本.html">
            
                <a href="../chapter1/1-4 python3小白课：我的第一个python脚本.html">
            
                    
                    1-4 python3小白课：我的第一个python脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../chapter1/1-5 python3小白课：如何运行py文件.html">
            
                <a href="../chapter1/1-5 python3小白课：如何运行py文件.html">
            
                    
                    1-5 python3小白课：如何运行py文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../chapter1/1-6 python3小白课：使用python IDLE.html">
            
                <a href="../chapter1/1-6 python3小白课：使用python IDLE.html">
            
                    
                    1-6 python3小白课：使用python IDLE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../chapter1/1-7 python3小白课：使用python shell.html">
            
                <a href="../chapter1/1-7 python3小白课：使用python shell.html">
            
                    
                    1-7 python3小白课：使用python shell
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../chapter2/">
            
                <a href="../chapter2/">
            
                    
                    二、变量、简单类型和运算符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../chapter2/2-1 python3小白课：啥是变量.html">
            
                <a href="../chapter2/2-1 python3小白课：啥是变量.html">
            
                    
                    2-1 python3小白课：啥是变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../chapter2/2-2 python3小白课：定义常量.html">
            
                <a href="../chapter2/2-2 python3小白课：定义常量.html">
            
                    
                    2-2 python3小白课：定义常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../chapter2/2-3 python3小白课：注释让你事半功倍.html">
            
                <a href="../chapter2/2-3 python3小白课：注释让你事半功倍.html">
            
                    
                    2-3 python3小白课：注释让你事半功倍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../chapter2/2-4 python3小白课：数值类型之整型.html">
            
                <a href="../chapter2/2-4 python3小白课：数值类型之整型.html">
            
                    
                    2-4 python3小白课：数值类型之整型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../chapter2/2-5 python3小白课：数值类型之浮点型.html">
            
                <a href="../chapter2/2-5 python3小白课：数值类型之浮点型.html">
            
                    
                    2-5 python3小白课：数值类型之浮点型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../chapter2/2-6 python3小白课：数值类型之复数.html">
            
                <a href="../chapter2/2-6 python3小白课：数值类型之复数.html">
            
                    
                    2-6 python3小白课：数值类型之复数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../chapter2/2-7 python3小白课：字符串入门.html">
            
                <a href="../chapter2/2-7 python3小白课：字符串入门.html">
            
                    
                    2-7 python3小白课：字符串入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../chapter2/2-8 python3小白课：字节串.html">
            
                <a href="../chapter2/2-8 python3小白课：字节串.html">
            
                    
                    2-8 python3小白课：字节串
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../chapter2/2-9 python3小白课：字符串进阶.html">
            
                <a href="../chapter2/2-9 python3小白课：字符串进阶.html">
            
                    
                    2-9 python3小白课：字符串进阶
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../chapter2/2-10 python3小白课：赋值运算符.html">
            
                <a href="../chapter2/2-10 python3小白课：赋值运算符.html">
            
                    
                    2-10 python3小白课：赋值运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../chapter2/2-11 python3小白课：算术运算符.html">
            
                <a href="../chapter2/2-11 python3小白课：算术运算符.html">
            
                    
                    2-11 python3小白课：算术运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../chapter2/2-12 python3小白课：索引运算符.html">
            
                <a href="../chapter2/2-12 python3小白课：索引运算符.html">
            
                    
                    2-12 python3小白课：索引运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../chapter2/2-13 python3小白课：比较运算符.html">
            
                <a href="../chapter2/2-13 python3小白课：比较运算符.html">
            
                    
                    2-13 python3小白课：比较运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../chapter2/2-14 python3小白课：身份运算符.html">
            
                <a href="../chapter2/2-14 python3小白课：身份运算符.html">
            
                    
                    2-14 python3小白课：身份运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../chapter2/2-15 python3小白课：逻辑运算符.html">
            
                <a href="../chapter2/2-15 python3小白课：逻辑运算符.html">
            
                    
                    2-15 python3小白课：逻辑运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../chapter2/2-16 python3小白课：位运算符.html">
            
                <a href="../chapter2/2-16 python3小白课：位运算符.html">
            
                    
                    2-16 python3小白课：位运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../chapter2/2-17 python3小白课：赋值运算符扩展.html">
            
                <a href="../chapter2/2-17 python3小白课：赋值运算符扩展.html">
            
                    
                    2-17 python3小白课：赋值运算符扩展
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../chapter2/2-18 python3小白课：三目运算符.html">
            
                <a href="../chapter2/2-18 python3小白课：三目运算符.html">
            
                    
                    2-18 python3小白课：三目运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.19" data-path="../chapter2/2-19 python3小白课：成员运算符.html">
            
                <a href="../chapter2/2-19 python3小白课：成员运算符.html">
            
                    
                    2-19 python3小白课：成员运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.20" data-path="../chapter2/2-20 python3小白课：运算符优先级.html">
            
                <a href="../chapter2/2-20 python3小白课：运算符优先级.html">
            
                    
                    2-20 python3小白课：运算符优先级
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../chapter3/">
            
                <a href="../chapter3/">
            
                    
                    三、列表、元组和字典
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../chapter3/3-1 python3小白课：列表和元组的区别.html">
            
                <a href="../chapter3/3-1 python3小白课：列表和元组的区别.html">
            
                    
                    3-1 python3小白课：列表和元组的区别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../chapter3/3-2 python3小白课：列表元组入门.html">
            
                <a href="../chapter3/3-2 python3小白课：列表元组入门.html">
            
                    
                    3-2 python3小白课：列表元组入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../chapter3/3-3 python3小白课：深入列表.html">
            
                <a href="../chapter3/3-3 python3小白课：深入列表.html">
            
                    
                    3-3 python3小白课：深入列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../chapter3/3-4 python3小白课：字典初识.html">
            
                <a href="../chapter3/3-4 python3小白课：字典初识.html">
            
                    
                    3-4 python3小白课：字典初识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../chapter3/3-5 python3小白课：字典操作基础.html">
            
                <a href="../chapter3/3-5 python3小白课：字典操作基础.html">
            
                    
                    3-5 python3小白课：字典操作基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../chapter3/3-6 python3小白课：字典的常用方法.html">
            
                <a href="../chapter3/3-6 python3小白课：字典的常用方法.html">
            
                    
                    3-6 python3小白课：字典的常用方法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../chapter4/">
            
                <a href="../chapter4/">
            
                    
                    四、流程控制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../chapter4/4-1 python3小白课：if分支结构.html">
            
                <a href="../chapter4/4-1 python3小白课：if分支结构.html">
            
                    
                    4-1 python3小白课：if分支结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../chapter4/4-2 python3小白课：while循环结构.html">
            
                <a href="../chapter4/4-2 python3小白课：while循环结构.html">
            
                    
                    4-2 python3小白课：while循环结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../chapter4/4-3 python3小白课：for-in循环结构.html">
            
                <a href="../chapter4/4-3 python3小白课：for-in循环结构.html">
            
                    
                    4-3 python3小白课：for-in循环结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../chapter4/4-4 python3小白课：for表达式.html">
            
                <a href="../chapter4/4-4 python3小白课：for表达式.html">
            
                    
                    4-4 python3小白课：for表达式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../chapter5/">
            
                <a href="../chapter5/">
            
                    
                    五、自定义函数
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../chapter5/5-1 python3小白课：函数是什么.html">
            
                <a href="../chapter5/5-1 python3小白课：函数是什么.html">
            
                    
                    5-1 python3小白课：函数是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../chapter5/5-2 python3小白课：函数入门.html">
            
                <a href="../chapter5/5-2 python3小白课：函数入门.html">
            
                    
                    5-2 python3小白课：函数入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../chapter5/5-3 python3小白课：递归函数.html">
            
                <a href="../chapter5/5-3 python3小白课：递归函数.html">
            
                    
                    5-3 python3小白课：递归函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../chapter5/5-4 python3小白课：关键字参数.html">
            
                <a href="../chapter5/5-4 python3小白课：关键字参数.html">
            
                    
                    5-4 python3小白课：关键字参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../chapter5/5-5 python3小白课：参数默认值.html">
            
                <a href="../chapter5/5-5 python3小白课：参数默认值.html">
            
                    
                    5-5 python3小白课：参数默认值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../chapter5/5-6 python3小白课：参数收集.html">
            
                <a href="../chapter5/5-6 python3小白课：参数收集.html">
            
                    
                    5-6 python3小白课：参数收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="../chapter5/5-7 python3小白课：变量作用域.html">
            
                <a href="../chapter5/5-7 python3小白课：变量作用域.html">
            
                    
                    5-7 python3小白课：变量作用域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.8" data-path="../chapter5/5-8 python3小白课：局部函数.html">
            
                <a href="../chapter5/5-8 python3小白课：局部函数.html">
            
                    
                    5-8 python3小白课：局部函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="./">
            
                <a href="./">
            
                    
                    六、模块和包
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="6-1 python3小白课：模块的导入.html">
            
                <a href="6-1 python3小白课：模块的导入.html">
            
                    
                    6-1 python3小白课：模块的导入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="6-2 python3小白课：自己写模块.html">
            
                <a href="6-2 python3小白课：自己写模块.html">
            
                    
                    6-2 python3小白课：自己写模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="6-3 python3小白课：导入模块详解.html">
            
                <a href="6-3 python3小白课：导入模块详解.html">
            
                    
                    6-3 python3小白课：导入模块详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="6-4 python3小白课：包是什么.html">
            
                <a href="6-4 python3小白课：包是什么.html">
            
                    
                    6-4 python3小白课：包是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="6-5 python3小白课：定义包.html">
            
                <a href="6-5 python3小白课：定义包.html">
            
                    
                    6-5 python3小白课：定义包
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.6" data-path="6-6 python3小白课：包成员导入.html">
            
                <a href="6-6 python3小白课：包成员导入.html">
            
                    
                    6-6 python3小白课：包成员导入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.7" data-path="6-7 python3小白课：模块内容查看.html">
            
                <a href="6-7 python3小白课：模块内容查看.html">
            
                    
                    6-7 python3小白课：模块内容查看
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.8.8" data-path="6-8 python3小白课：解锁你心仪的三方包.html">
            
                <a href="6-8 python3小白课：解锁你心仪的三方包.html">
            
                    
                    6-8 python3小白课：解锁你心仪的三方包
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.9" data-path="6-9 python3小白课：虚拟环境介绍和安装.html">
            
                <a href="6-9 python3小白课：虚拟环境介绍和安装.html">
            
                    
                    6-9 python3小白课：虚拟环境介绍和安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.10" data-path="6-10 python3小白课：虚拟环境使用.html">
            
                <a href="6-10 python3小白课：虚拟环境使用.html">
            
                    
                    6-10 python3小白课：虚拟环境使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../chapter7/">
            
                <a href="../chapter7/">
            
                    
                    七、类和对象
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../chapter7/7-1 python3小白课：一节课搞懂面向对象.html">
            
                <a href="../chapter7/7-1 python3小白课：一节课搞懂面向对象.html">
            
                    
                    7-1 python3小白课：一节课搞懂面向对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../chapter7/7-2 python3小白课：定义类和实例化对象.html">
            
                <a href="../chapter7/7-2 python3小白课：定义类和实例化对象.html">
            
                    
                    7-2 python3小白课：定义类和实例化对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../chapter7/7-3 python3小白课：了解实例方法.html">
            
                <a href="../chapter7/7-3 python3小白课：了解实例方法.html">
            
                    
                    7-3 python3小白课：了解实例方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="../chapter7/7-4 python3小白课：用property函数定义属性.html">
            
                <a href="../chapter7/7-4 python3小白课：用property函数定义属性.html">
            
                    
                    7-4 python3小白课：用property函数定义属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.5" data-path="../chapter7/7-5 python3小白课：封装和隐藏.html">
            
                <a href="../chapter7/7-5 python3小白课：封装和隐藏.html">
            
                    
                    7-5 python3小白课：封装和隐藏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.6" data-path="../chapter7/7-6 python3小白课：类的继承和多继承.html">
            
                <a href="../chapter7/7-6 python3小白课：类的继承和多继承.html">
            
                    
                    7-6 python3小白课：类的继承和多继承
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.7" data-path="../chapter7/7-7 python3小白课：重写父类方法和使用super函数.html">
            
                <a href="../chapter7/7-7 python3小白课：重写父类方法和使用super函数.html">
            
                    
                    7-7 python3小白课：重写父类方法和使用super函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.8" data-path="../chapter7/7-8 python3小白课：类的多态性.html">
            
                <a href="../chapter7/7-8 python3小白课：类的多态性.html">
            
                    
                    7-8 python3小白课：类的多态性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.9" data-path="../chapter7/7-9 python3小白课：可以被枚举的类.html">
            
                <a href="../chapter7/7-9 python3小白课：可以被枚举的类.html">
            
                    
                    7-9 python3小白课：可以被枚举的类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../chapter8/">
            
                <a href="../chapter8/">
            
                    
                    八、异常处理机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../chapter8/8-1 python3小白课：最基本的异常处理.html">
            
                <a href="../chapter8/8-1 python3小白课：最基本的异常处理.html">
            
                    
                    8-1 python3小白课：最基本的异常处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../chapter8/8-2 python3小白课：多异常捕获.html">
            
                <a href="../chapter8/8-2 python3小白课：多异常捕获.html">
            
                    
                    8-2 python3小白课：多异常捕获
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="../chapter8/8-3 python3小白课：查看详细异常信息.html">
            
                <a href="../chapter8/8-3 python3小白课：查看详细异常信息.html">
            
                    
                    8-3 python3小白课：查看详细异常信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="../chapter8/8-4 python3小白课：异常机制中的else块.html">
            
                <a href="../chapter8/8-4 python3小白课：异常机制中的else块.html">
            
                    
                    8-4 python3小白课：异常机制中的else块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" data-path="../chapter8/8-5 python3小白课：finally块回收资源.html">
            
                <a href="../chapter8/8-5 python3小白课：finally块回收资源.html">
            
                    
                    8-5 python3小白课：finally块回收资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.6" data-path="../chapter8/8-6 python3小白课：自己引发异常.html">
            
                <a href="../chapter8/8-6 python3小白课：自己引发异常.html">
            
                    
                    8-6 python3小白课：自己引发异常
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Summary.html">
            
                <a href="../Summary.html">
            
                    
                    课程总结
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >6-8 python3小白课：解锁你心仪的三方包</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <html><head></head><body><div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon fa fa-hand-o-right"></span><a href="#python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;"><b></b>python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;</a></li><ul><ul><li><span class="title-icon fa fa-hand-o-right"></span><a href="#&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;"><b></b>&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;</a></li><li><span class="title-icon fa fa-hand-o-right"></span><a href="#pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;"><b></b>pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;</a></li><li><span class="title-icon fa fa-hand-o-right"></span><a href="#&#x5355;&#x8BCD;&#x91CA;&#x4E49;"><b></b>&#x5355;&#x8BCD;&#x91CA;&#x4E49;</a></li></ul></ul></ul></div><h1 id="python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;"><a name="python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;" class="anchor-navigation-ex-anchor" href="#python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>python3&#x5C0F;&#x767D;&#x8BFE;&#xFF1A;&#x89E3;&#x9501;&#x4F60;&#x5FC3;&#x4EEA;&#x7684;&#x4E09;&#x65B9;&#x5305;</h1>
<h3 id="&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;"><a name="&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;" class="anchor-navigation-ex-anchor" href="#&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x4ED3;&#x5E93;</h3>
<p><strong>PyPI</strong>(<em>Python Package Index</em>)&#x662F;python<strong>&#x5B98;&#x65B9;&#x7684;&#x7B2C;&#x4E09;&#x65B9;&#x5E93;&#x7684;&#x4ED3;&#x5E93;</strong>&#xFF0C;&#x6240;&#x6709;&#x4EBA;&#x90FD;&#x53EF;&#x4EE5;&#x4E0B;&#x8F7D;&#x7B2C;&#x4E09;&#x65B9;&#x5E93;&#x6216;&#x4E0A;&#x4F20;&#x81EA;&#x5DF1;&#x5F00;&#x53D1;&#x7684;&#x5E93;&#x5230;PyPI&#x3002;</p>
<p>&#x5B83;&#x7684;&#x7F51;&#x5740;&#x4E3A;&#xFF08;&#x5982;&#x679C;&#x8BBF;&#x95EE;&#x6BD4;&#x8F83;&#x6162;&#x53EF;&#x4EE5;&#x5BFB;&#x627E;&#x4E00;&#x4E9B;&#x56FD;&#x5185;&#x7684;&#x955C;&#x50CF;&#x6E90;&#x7AD9;&#x5982;&#x6E05;&#x534E;&#x5927;&#x5B66;&#x5305;&#x6E90;<a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/" target="_blank">https://www.lfd.uci.edu/~gohlke/pythonlibs/</a>&#xFF0C;&#x6216;&#x8005;&#x6276;&#x5899;&#xFF09;&#xFF1A;</p>
<p><a href="https://pypi.org/" target="_blank">https://pypi.org/</a></p>
<a href="assets/6-8-1.jpg" data-lightbox="23e89f5c-0f3f-48d7-9925-25905c297a4d" data-title="&#x56FE;6-8-1 pypi&#x5B98;&#x7F51;&#x9996;&#x9875;"><figure id="fig1.8.8.1"><img src="assets/6-8-1.jpg" alt="&#x56FE;6-8-1 pypi&#x5B98;&#x7F51;&#x9996;&#x9875;"><figcaption>&#x56FE;6-8-1 pypi&#x5B98;&#x7F51;&#x9996;&#x9875;</figcaption></figure></a>
<h4 id="&#x67E5;&#x770B;&#x3001;&#x4E0B;&#x8F7D;&#x4E09;&#x65B9;&#x5305;"><a name="&#x67E5;&#x770B;&#x3001;&#x4E0B;&#x8F7D;&#x4E09;&#x65B9;&#x5305;" class="anchor-navigation-ex-anchor" href="#&#x67E5;&#x770B;&#x3001;&#x4E0B;&#x8F7D;&#x4E09;&#x65B9;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x67E5;&#x770B;&#x3001;&#x4E0B;&#x8F7D;&#x4E09;&#x65B9;&#x5305;</h4>
<p>&#x65E0;&#x9700;&#x6CE8;&#x518C;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x8F93;&#x5165;&#x4F60;&#x60F3;&#x8981;&#x67E5;&#x770B;&#x6216;&#x4E0B;&#x8F7D;&#x7684;&#x5305;&#x540D;&#xFF0C;&#x641C;&#x7D22;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#xFF0C;&#x6211;&#x4EEC;&#x6765;&#x968F;&#x610F;&#x641C;&#x7D22;&#x4E00;&#x4E2A;&#xFF0C;&#x6BD4;&#x5982;&#x505A;&#x722C;&#x866B;&#x7684;&#x4E00;&#x4E2A;&#x5F88;&#x4E0D;&#x9519;&#x7684;&#x4E09;&#x65B9;&#x5305;<code>requests</code>&#x3002;&#x8F93;&#x5165;&#x5E76;&#x70B9;&#x51FB;&#x641C;&#x7D22;&#x6309;&#x94AE;&#x540E;&#x4F1A;&#x8DF3;&#x8F6C;&#x5230;&#x7ED3;&#x679C;&#x754C;&#x9762;&#xFF1A;</p>
<a href="assets/6-8-2.jpg" data-lightbox="77398930-6e67-4b00-a57c-fbc2c8da3f51" data-title="&#x56FE;6-8-2 requests&#x641C;&#x7D22;&#x7ED3;&#x679C;"><figure id="fig1.8.8.2"><img src="assets/6-8-2.jpg" alt="&#x56FE;6-8-2 requests&#x641C;&#x7D22;&#x7ED3;&#x679C;"><figcaption>&#x56FE;6-8-2 requests&#x641C;&#x7D22;&#x7ED3;&#x679C;</figcaption></figure></a>
<p>&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x6709;&#x5F88;&#x591A;&#x5F88;&#x591A;&#x4E2A;&#x641C;&#x7D22;&#x7ED3;&#x679C;&#xFF0C;&#x53EF;&#x4EE5;&#x70B9;&#x51FB;&#x8FDB;&#x53BB;&#x6700;&#x5339;&#x914D;&#x7684;&#x90A3;&#x4E2A;&#x7ED3;&#x679C;&#x3002;&#x8FD9;&#x91CC;&#x770B;&#x5230;&#x7684;<code>2.23.0</code>&#x662F;&#x6700;&#x65B0;&#x7248;&#x672C;&#x7684;&#x7248;&#x672C;&#x53F7;&#x3002;</p>
<a href="assets/6-8-3.jpg" data-lightbox="81683f91-b9f5-450f-b2b2-21d41d58f385" data-title="&#x56FE;6-8-3 &#x5305;&#x7684;&#x5185;&#x9875;"><figure id="fig1.8.8.3"><img src="assets/6-8-3.jpg" alt="&#x56FE;6-8-3 &#x5305;&#x7684;&#x5185;&#x9875;"><figcaption>&#x56FE;6-8-3 &#x5305;&#x7684;&#x5185;&#x9875;</figcaption></figure></a>
<p>&#x5982;&#x4E0A;&#x56FE;&#x6240;&#x793A;&#xFF0C;&#x6211;&#x4EEC;&#x8FDB;&#x5165;&#x4E86;&#x5305;&#x7684;&#x8BE6;&#x60C5;&#x9875;&#x9762;&#xFF0C;&#x5728;&#x8FD9;&#x91CC;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x5305;&#x7684;&#x6700;&#x65B0;&#x7248;&#x672C;&#xFF0C;&#x5E95;&#x4E0B;&#x7684;<code>pip install requests</code>&#x662F;&#x4F7F;&#x7528;&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;<code>pip</code>&#x6765;&#x4E0B;&#x8F7D;&#x5305;&#x7684;&#x547D;&#x4EE4;&#x884C;&#xFF0C;&#x53EF;&#x4EE5;&#x590D;&#x5236;&#x8BE5;&#x884C;&#x653E;&#x5230;cmd&#x4E2D;&#x6267;&#x884C;&#x3002;&#x5173;&#x4E8E;&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;<code>pip</code>&#xFF0C;&#x540E;&#x9762;&#x6211;&#x4EEC;&#x4F1A;&#x518D;&#x8BE6;&#x7EC6;&#x8BB2;&#x89E3;&#x3002;</p>
<p>&#x53F3;&#x4E0A;&#x89D2;&#x662F;&#x73B0;&#x5728;&#x7684;&#x7248;&#x672C;&#x662F;&#x5426;&#x4E3A;&#x6700;&#x65B0;&#x7248;&#x672C;&#x4EE5;&#x53CA;&#x8BE5;&#x7248;&#x672C;&#x7684;&#x53D1;&#x5E03;&#x65E5;&#x671F;&#x7B49;&#x4FE1;&#x606F;&#x3002;</p>
<p>&#x5728;&#x4E0B;&#x9762;&#x6B63;&#x6587;&#x5185;&#x5BB9;&#x7684;&#x5DE6;&#x4FA7;&#x8FB9;&#x680F;&#x6709;&#x4E00;&#x4E2A;&#x5BFC;&#x822A;&#x6761;&#xFF0C;&#x5982;&#x56FE;&#x6211;&#x4EEC;&#x6807;&#x6CE8;&#x51FA;&#x4E86;&#x529F;&#x80FD;&#x4FE1;&#x606F;&#xFF0C;&#x9ED8;&#x8BA4;&#x8FDB;&#x5165;&#x7684;&#x662F;&#x9879;&#x76EE;&#x63CF;&#x8FF0;&#x9875;&#xFF0C;&#x4F1A;&#x544A;&#x8BC9;&#x6211;&#x4EEC;&#x8FD9;&#x4E2A;&#x5305;&#x662F;&#x505A;&#x5565;&#x7684;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x4E86;&#x89E3;&#x4E00;&#x4E0B;&#xFF0C;&#x8BE5;&#x4FE1;&#x606F;&#x7531;&#x5305;&#x7684;&#x5F00;&#x53D1;&#x8005;&#x63D0;&#x4F9B;&#xFF0C;&#x5982;&#x679C;&#x5F00;&#x53D1;&#x8005;&#x6BD4;&#x8F83;&#x61D2;&#xFF0C;&#x4F60;&#x4E5F;&#x53EF;&#x80FD;&#x770B;&#x4E0D;&#x5230;&#x5565;&#x4FE1;&#x606F;&#x3002;</p>
<p>&#x53D1;&#x884C;&#x5386;&#x53F2;&#x90E8;&#x5206;&#x662F;&#x67E5;&#x770B;&#x5386;&#x53F2;&#x7248;&#x672C;&#x65F6;&#x95F4;&#x7EBF;&#x7528;&#x7684;&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x9700;&#x8981;&#x4E0B;&#x8F7D;&#x4E00;&#x4E2A;&#x6307;&#x5B9A;&#x7684;&#x5386;&#x53F2;&#x5DF2;&#x53D1;&#x5E03;&#x7684;&#x7248;&#x672C;&#x53EF;&#x4EE5;&#x4ECE;&#x8FD9;&#x91CC;&#x8FDB;&#x5165;&#x3002;</p>
<a href="assets/6-8-4.jpg" data-lightbox="0ab6aa62-15f6-4dde-99d0-615325f68b90" data-title="&#x56FE;6-8-4 &#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x9875;&#x9762;"><figure id="fig1.8.8.4"><img src="assets/6-8-4.jpg" alt="&#x56FE;6-8-4 &#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x9875;&#x9762;"><figcaption>&#x56FE;6-8-4 &#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x9875;&#x9762;</figcaption></figure></a>
<p>&#x4E0B;&#x8F7D;&#x6587;&#x4EF6;&#x90E8;&#x5206;&#x662F;&#x5C55;&#x793A;&#x6709;&#x54EA;&#x4E9B;&#x8D44;&#x6E90;&#x53EF;&#x4F9B;&#x4E0B;&#x8F7D;&#x7684;&#x3002;&#x4F60;&#x53EF;&#x4EE5;&#x67E5;&#x770B;&#x6587;&#x4EF6;&#x7C7B;&#x578B;&#xFF0C;&#x9002;&#x5408;&#x7684;python&#x7248;&#x672C;&#xFF0C;&#x4E0A;&#x4F20;&#x65E5;&#x671F;&#xFF0C;&#x54C8;&#x5E0C;&#x503C;&#x7B49;&#x4FE1;&#x606F;&#x3002;&#x8FD8;&#x53EF;&#x4EE5;&#x70B9;&#x51FB;&#x94FE;&#x63A5;&#x8FDB;&#x884C;&#x4E0B;&#x8F7D;&#x3002;</p>
<p>&#x6BD4;&#x5982;&#x8FD9;&#x91CC;&#x6211;&#x4EEC;&#x770B;&#x5230;&#x6709;&#x4E24;&#x4E2A;&#x8D44;&#x6E90;&#x53EF;&#x4F9B;&#x4E0B;&#x8F7D;&#xFF0C;<code>.whl</code>&#x6587;&#x4EF6;&#x662F;wheel&#x6587;&#x4EF6;&#xFF0C;&#x8F6E;&#x5B50;&#x7684;&#x610F;&#x601D;&#xFF0C;&#x6211;&#x89C9;&#x5F97;&#x53D6;&#x7684;&#x5BD3;&#x610F;&#x5F88;&#x597D;&#xFF0C;&#x4E0B;&#x8F7D;&#x4E86;&#x8F6E;&#x5B50;&#x4F60;&#x5C31;&#x4E0D;&#x7528;&#x91CD;&#x590D;&#x9020;&#x8F6E;&#x5B50;&#x4E86;&#x3002;&#x8FD9;&#x662F;python&#x6253;&#x5305;&#x4E2D;&#x6BD4;&#x8F83;&#x65B0;&#x7684;&#x4E00;&#x79CD;&#x5F88;&#x4E0D;&#x9519;&#x7684;&#x6253;&#x5305;&#x683C;&#x5F0F;&#xFF0C;&#x662F;&#x7F16;&#x8BD1;&#x8FC7;&#x7684;&#x5305;&#x6587;&#x4EF6;&#xFF0C;&#x4E0D;&#x9700;&#x8981;&#x4E0B;&#x8F7D;&#x4EE3;&#x7801;&#x540E;&#x81EA;&#x5DF1;&#x672C;&#x673A;&#x7F16;&#x8BD1;&#xFF0C;&#x63D0;&#x9AD8;&#x4E86;&#x5B89;&#x88C5;&#x7684;&#x6210;&#x529F;&#x7387;&#x3002;&#x4E0B;&#x8F7D;&#x540E;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x901A;&#x8FC7;<code>pip</code>&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#x5B89;&#x88C5;&#xFF0C;&#x7F51;&#x4E0A;&#x6709;&#x4E9B;&#x8BF4;&#x6CD5;&#x662F;&#x8BF4;&#x9700;&#x8981;&#x5148;&#x5B89;&#x88C5;<code>wheel</code>&#x8FD9;&#x4E2A;&#x4E09;&#x65B9;&#x5305;&#x624D;&#x80FD;&#x5B89;&#x88C5;&#xFF0C;&#x5B9E;&#x6D4B;&#x662F;&#x4E0D;&#x9700;&#x8981;&#x7684;&#x3002;&#x800C;&#x5B89;&#x88C5;<code>wheel</code>&#x8FD9;&#x4E2A;&#x5E93;&#x4E4B;&#x540E;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x6765;&#x6253;&#x5305;&#x81EA;&#x5DF1;&#x7684;<code>whl</code>&#x6587;&#x4EF6;&#x3002;</p>
<blockquote>
<p>[!tip]</p>
<p>&#x4F60;&#x53EF;&#x4EE5;&#x5C1D;&#x8BD5;&#x628A;&#x4E0B;&#x8F7D;&#x597D;&#x7684;whl&#x6587;&#x4EF6;&#x540E;&#x7F00;&#x540D;&#x4FEE;&#x6539;&#x4E3A;zip&#xFF0C;&#x53D1;&#x73B0;&#x5B83;&#x53EF;&#x4EE5;&#x7528;&#x538B;&#x7F29;&#x8F6F;&#x4EF6;&#x6253;&#x5F00;&#xFF0C;&#x5B9E;&#x9645;&#x5B83;&#x662F;&#x4E00;&#x4E2A;&#x538B;&#x7F29;&#x6253;&#x5305;&#x6587;&#x4EF6;&#x3002;</p>
</blockquote>
<p>&#x53E6;&#x4E00;&#x79CD;&#x683C;&#x5F0F;&#x662F;<code>tar.gz</code>&#x683C;&#x5F0F;&#xFF0C;&#x8FD9;&#x662F;&#x6E90;&#x7801;&#x6587;&#x4EF6;&#x538B;&#x7F29;&#x683C;&#x5F0F;&#xFF0C;&#x5728;&#x6709;&#x80FD;&#x7528;&#x7684;<code>whl</code>&#x5305;&#x7684;&#x65F6;&#x5019;&#x6211;&#x4EEC;&#x90FD;&#x4E0D;&#x592A;&#x63A8;&#x8350;&#x7528;&#x8FD9;&#x79CD;&#x683C;&#x5F0F;&#xFF0C;&#x56E0;&#x4E3A;&#x6709;&#x7684;&#x65F6;&#x5019;&#x9700;&#x8981;&#x4F60;&#x81EA;&#x5DF1;&#x672C;&#x673A;&#x7F16;&#x8BD1;&#x4E00;&#x4E9B;&#x539F;&#x59CB;&#x4EE3;&#x7801;&#xFF0C;&#x5982;&#x679C;&#x7535;&#x8111;&#x4E2D;&#x7F3A;&#x5C11;&#x67D0;&#x4E9B;&#x7F16;&#x8BD1;&#x5E93;&#xFF0C;&#x5219;&#x4F1A;&#x51FA;&#x73B0;&#x5404;&#x79CD;&#x5404;&#x6837;&#x7684;&#x62A5;&#x9519;&#x95EE;&#x9898;&#xFF0C;&#x6240;&#x4EE5;&#x4E0D;&#x5230;&#x4E0D;&#x5F97;&#x5DF2;&#x4E0D;&#x4F7F;&#x7528;&#x3002;</p>
<p>&#x53EF;&#x80FD;&#x8FD8;&#x6709;&#x4E00;&#x4E9B;&#x5176;&#x4ED6;&#x4F60;&#x53EF;&#x80FD;&#x89C1;&#x5230;&#x7684;&#x683C;&#x5F0F;&#xFF0C;&#x4F60;&#x90FD;&#x53EF;&#x4EE5;&#x4ECE;&#x7F51;&#x4E0A;&#x627E;&#x5230;&#x5BF9;&#x5E94;&#x7684;&#x5B89;&#x88C5;&#x65B9;&#x6CD5;&#x3002;</p>
<p>&#x4E0A;&#x9762;&#x8BB2;&#x7684;&#x662F;&#x5230;pypi&#x5B98;&#x7F51;&#x53BB;&#x627E;&#x5230;&#x5305;&#x5E76;&#x4E0B;&#x8F7D;&#x7684;&#xFF0C;&#x8FD9;&#x79CD;&#x64CD;&#x4F5C;&#x6BD4;&#x8F83;&#x9002;&#x5408;&#x7ED9;&#x4E00;&#x4E9B;&#x516C;&#x53F8;&#x5185;&#x7F51;&#xFF08;&#x4E0D;&#x80FD;&#x8FDE;&#x63A5;&#x5916;&#x7F51;&#x4E0B;&#x8F7D;&#xFF09;&#x79BB;&#x7EBF;&#x5B89;&#x88C5;&#xFF0C;&#x6216;&#x8005;&#x60F3;&#x770B;&#x770B;&#x6709;&#x4E9B;&#x4EC0;&#x4E48;&#x5305;&#x53EF;&#x4EE5;&#x7528;&#x7684;&#x60C5;&#x51B5;&#xFF0C;&#x5B9E;&#x9645;&#x6211;&#x4EEC;&#x5728;&#x77E5;&#x9053;&#x8981;&#x5B89;&#x88C5;&#x4EC0;&#x4E48;&#x5305;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x6781;&#x5C11;&#x4F1A;&#x767B;&#x5F55;pypi&#x5B98;&#x7F51;&#x53BB;&#x4E0B;&#x8F7D;&#x3002;</p>
<h4 id="&#x81EA;&#x5DF1;&#x8D21;&#x732E;&#x4E09;&#x65B9;&#x5E93;"><a name="&#x81EA;&#x5DF1;&#x8D21;&#x732E;&#x4E09;&#x65B9;&#x5E93;" class="anchor-navigation-ex-anchor" href="#&#x81EA;&#x5DF1;&#x8D21;&#x732E;&#x4E09;&#x65B9;&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x81EA;&#x5DF1;&#x8D21;&#x732E;&#x4E09;&#x65B9;&#x5E93;</h4>
<p>&#x9664;&#x4E86;&#x4F7F;&#x7528;&#x5168;&#x7403;&#x5F00;&#x53D1;&#x8005;&#x63D0;&#x4F9B;&#x7684;&#x5404;&#x79CD;&#x5404;&#x6837;&#x7684;&#x4E09;&#x65B9;&#x5E93;&#x4E4B;&#x5916;&#xFF0C;&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x8D21;&#x732E;&#x81EA;&#x5DF1;&#x7684;&#x4E09;&#x65B9;&#x5E93;&#x3002;</p>
<p>&#x53EA;&#x9700;&#x8981;&#x5728;pypi&#x5B98;&#x7F51;&#x6CE8;&#x518C;&#x767B;&#x5F55;&#x5E76;&#x6309;&#x7167;&#x8981;&#x6C42;&#x4E0A;&#x4F20;&#x76F8;&#x5173;&#x7684;&#x6587;&#x4EF6;&#x5373;&#x53EF;&#x3002;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x81EA;&#x5DF1;&#x6CE8;&#x518C;&#x7684;&#x4E09;&#x65B9;&#x5E93;&#x540D;&#x5B57;&#x4E0D;&#x80FD;&#x8DDF;&#x5B98;&#x7F51;&#x4E2D;&#x5DF2;&#x6709;&#x7684;&#x91CD;&#x590D;&#x5373;&#x53EF;&#xFF0C;&#x8FD9;&#x4E2A;&#x5728;&#x6CE8;&#x518C;&#x9879;&#x76EE;&#x7684;&#x65F6;&#x5019;&#x662F;&#x53EF;&#x4EE5;&#x641C;&#x7D22;&#x770B;&#x4E00;&#x4E0B;&#x7684;&#x3002;</p>
<p>&#x5173;&#x4E8E;&#x8FD9;&#x5757;&#x5185;&#x5BB9;&#xFF0C;&#x5165;&#x95E8;&#x7684;&#x540C;&#x5B66;&#x4EEC;&#x53EF;&#x4EE5;&#x4E0D;&#x505A;&#x638C;&#x63E1;&#xFF0C;&#x5982;&#x679C;&#x5927;&#x5BB6;&#x611F;&#x5174;&#x8DA3;&#x7684;&#x8BDD;&#xFF0C;&#x4ECA;&#x540E;&#x5728;&#x8FDB;&#x9636;&#x6216;&#x9AD8;&#x7EA7;&#x8BFE;&#x7A0B;&#x4E2D;&#x4F1A;&#x8BE6;&#x7EC6;&#x518D;&#x8DDF;&#x5927;&#x5BB6;&#x8BB2;&#x89E3;&#x3002;</p>
<hr>
<h3 id="pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;"><a name="pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;" class="anchor-navigation-ex-anchor" href="#pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;"><i class="fa fa-link" aria-hidden="true"></i></a>pip&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;</h3>
<p>&#x524D;&#x9762;&#x6211;&#x4EEC;&#x5DF2;&#x7ECF;&#x63D0;&#x5230;&#x4E86;<code>pip</code>&#x8FD9;&#x6B3E;&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#xFF0C;&#x540C;&#x5F88;&#x591A;&#x5176;&#x4ED6;&#x7F16;&#x7A0B;&#x8BED;&#x8A00;&#x4E00;&#x6837;&#xFF0C;&#x901A;&#x8FC7;&#x8FD9;&#x6B3E;&#x5DE5;&#x5177;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x8F7B;&#x677E;&#x7684;&#x505A;&#x5230;python&#x7684;&#x4E09;&#x65B9;&#x5E93;&#x7684;&#x7BA1;&#x7406;&#x3001;&#x5B89;&#x88C5;&#x3001;&#x5378;&#x8F7D;&#x7B49;&#x64CD;&#x4F5C;&#x3002;</p>
<p>&#x8FD9;&#x90E8;&#x5206;&#x6211;&#x4EEC;&#x6765;&#x7740;&#x91CD;&#x8BB2;&#x89E3;&#x4E00;&#x4E0B;&#x65E5;&#x5E38;&#x5E38;&#x89C1;&#x7684;&#x4F7F;&#x7528;&#x3002;</p>
<p><code>pip</code>&#x5DE5;&#x5177;&#x662F;&#x4E00;&#x4E2A;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;cmd&#x547D;&#x4EE4;&#x63D0;&#x793A;&#x7B26;&#x4E2D;&#x4F7F;&#x7528;&#x3002;&#x76EE;&#x524D;&#x7684;python&#x5B89;&#x88C5;&#x5305;&#x901A;&#x5E38;&#x90FD;&#x4F1A;&#x81EA;&#x5E26;<code>pip</code>&#x5DE5;&#x5177;&#x4E00;&#x8D77;&#x5B89;&#x88C5;&#x7684;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x53BB;&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;&#xFF0C;&#x53EF;&#x4EE5;&#x770B;&#x4E00;&#x4E0B;&#x6211;&#x4EEC;&#x7B2C;3&#x8BFE;&#x7684;&#x622A;&#x56FE;&#xFF0C;&#x5DF2;&#x7ECF;&#x9ED8;&#x8BA4;&#x5B89;&#x88C5;&#x4E86;&#x3002;</p>
<p>&#x53EF;&#x4EE5;&#x5728;cmd&#x4E2D;&#x8F93;&#x5165;&#x547D;&#x4EE4;&#x67E5;&#x770B;&#x662F;&#x5426;&#x5DF2;&#x5B89;&#x88C5;&#xFF1A;</p>
<pre class="language-"><code class="lang-powershell">pip <span class="token operator">--</span>version
</code></pre>
<p>&#x5982;&#x679C;&#x6210;&#x529F;&#x5F39;&#x51FA;&#x7248;&#x672C;&#x53F7;&#xFF0C;&#x8BF4;&#x660E;&#x5B89;&#x88C5;&#x6210;&#x529F;&#x800C;&#x4E14;&#x53EF;&#x4EE5;&#x6B63;&#x5E38;&#x8C03;&#x7528;&#x3002;</p>
<p>&#x5982;&#x679C;&#x544A;&#x8BC9;&#x4F60;&#x627E;&#x4E0D;&#x5230;<code>pip</code>&#x8FD9;&#x6B3E;&#x5DE5;&#x5177;&#xFF0C;&#x9996;&#x5148;&#x4F60;&#x53EF;&#x4EE5;&#x770B;&#x4E00;&#x4E0B;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x4E2D;&#x662F;&#x5426;&#x5DF2;&#x7ECF;&#x5C06;python&#x5B89;&#x88C5;&#x76EE;&#x5F55;&#x4E0B;&#x7684;<code>Scripts</code>&#x76EE;&#x5F55;&#x52A0;&#x5165;&#x4E86;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x4E2D;&#xFF0C;&#x5982;&#x679C;&#x4E5F;&#x786E;&#x5B9E;&#x52A0;&#x5165;&#x4E86;&#xFF0C;&#x53EF;&#x4EE5;&#x91CD;&#x542F;&#x518D;&#x770B;&#x4E00;&#x770B;&#x3002;</p>
<p>&#x5982;&#x679C;&#x8FD8;&#x662F;&#x4E0D;&#x6210;&#x529F;&#xFF0C;&#x53EF;&#x80FD;&#x4F60;&#x5C31;&#x9700;&#x8981;&#x624B;&#x52A8;&#x5B89;&#x88C5;&#x4E00;&#x4E0B;<code>pip</code>&#x4E86;&#x3002;&#x9700;&#x8981;&#x624B;&#x52A8;&#x5B89;&#x88C5;&#x7684;&#x540C;&#x5B66;&#x53EF;&#x4EE5;&#x770B;&#x4E0B;&#xFF0C;&#x624B;&#x52A8;&#x5B89;&#x88C5;&#x6211;&#x4EEC;&#x53C2;&#x8003;&#x5B98;&#x7F51;&#x4ECB;&#x7ECD;&#xFF1A;<a href="https://pip.pypa.io/en/stable/installing/" target="_blank">https://pip.pypa.io/en/stable/installing/</a></p>
<p>&#x9996;&#x5148;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x6233;&#x8FD9;&#x4E2A;&#x4E0B;&#x8F7D;&#x76F8;&#x5173;&#x6587;&#x4EF6;&#xFF1A;<a href="https://bootstrap.pypa.io/get-pip.py" target="_blank">https://bootstrap.pypa.io/get-pip.py</a></p>
<p>&#x7136;&#x540E;&#x8FD0;&#x884C;&#x547D;&#x4EE4;&#x5728;&#x7EBF;&#x5B89;&#x88C5;pip&#xFF1A;</p>
<pre class="language-"><code class="lang-powershell">python get<span class="token operator">-</span>pip<span class="token punctuation">.</span>py
</code></pre>
<p>&#x5982;&#x679C;&#x6211;&#x4EEC;&#x4FDD;&#x8BC1;<code>pip</code>&#x5DF2;&#x7ECF;&#x5B89;&#x88C5;&#x597D;&#x4E86;&#xFF0C;&#x5C31;&#x6765;&#x770B;&#x4E00;&#x4E0B;&#x5982;&#x4F55;&#x4F7F;&#x7528;&#x5427;&#x3002;</p>
<p>&#x6211;&#x4EEC;&#x6709;&#x5982;&#x4E0B;&#x4E00;&#x4E9B;&#x547D;&#x4EE4;&#x6765;&#x4F7F;&#x7528;&#xFF1A;</p>
<pre class="language-"><code class="lang-powershell"><span class="token comment"># &#x901A;&#x8FC7;pip&#x5728;&#x7EBF;&#x5B89;&#x88C5;&#x4E09;&#x65B9;&#x5E93;&#xFF0C;&#x5982;requests&#xFF0C;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x6700;&#x5E38;&#x4F7F;&#x7528;&#xFF0C;&#x52A1;&#x5FC5;&#x7262;&#x8BB0;</span>
<span class="token comment"># &#x5B83;&#x4F1A;&#x81EA;&#x52A8;&#x4E0B;&#x8F7D;&#x9002;&#x5408;&#x4F60;&#x76EE;&#x524D;&#x5B89;&#x88C5;&#x7684;python&#x7684;&#x5305;&#x5E76;&#x5B89;&#x88C5;&#xFF08;&#x5982;&#x679C;&#x5305;&#x4F9D;&#x8D56;&#x4E8E;&#x5176;&#x4ED6;&#x5305;&#xFF0C;&#x4E5F;&#x4F1A;&#x4E00;&#x5E76;&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;&#xFF09;</span>
pip install requests

<span class="token comment"># &#x67E5;&#x770B;&#x76EE;&#x524D;&#x5DF2;&#x5B89;&#x88C5;&#x7684;&#x4E09;&#x65B9;&#x5E93;&#x5217;&#x8868;</span>
pip list

<span class="token comment"># &#x67E5;&#x770B;&#x76EE;&#x524D;&#x6709;&#x54EA;&#x4E9B;&#x4E09;&#x65B9;&#x5E93;&#x6709;&#x65B0;&#x7248;&#x672C;&#x4E86;</span>
pip list <span class="token operator">-</span>o

<span class="token comment"># &#x5982;&#x679C;pip&#x4E0D;&#x662F;&#x6700;&#x65B0;&#x7248;&#x672C;&#xFF0C;pip&#x8FD0;&#x884C;&#x5B8C;&#x4E00;&#x4E9B;&#x547D;&#x4EE4;&#x65F6;&#x8FD8;&#x4F1A;&#x7ECF;&#x5E38;&#x63D0;&#x9192;&#x4F60;&#x5347;&#x7EA7;&#xFF0C;&#x5347;&#x7EA7;pip&#x81EA;&#x8EAB;&#x7684;&#x547D;&#x4EE4;&#xFF08;&#x4E00;&#x822C;&#x4E5F;&#x4F1A;&#x7ED9;&#x51FA;&#xFF09;</span>
<span class="token comment"># &#x4ECE;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x6211;&#x4EEC;&#x77E5;&#x9053;&#xFF0C;&#x524D;&#x9762;&#x52A0;&#x4E0A;python -m&#x4E5F;&#x80FD;&#x8C03;&#x7528;pip&#x76F8;&#x5173;&#x547D;&#x4EE4;&#xFF0C;&#x9002;&#x7528;&#x4E8E;Scripts&#x6587;&#x4EF6;&#x5939;&#x672A;&#x52A0;&#x5165;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x7684;&#x60C5;&#x51B5;&#x6216;&#x5347;&#x7EA7;&#x81EA;&#x8EAB;&#x7684;&#x60C5;&#x51B5;</span>
python <span class="token operator">-</span>m pip install <span class="token operator">--</span>upgrade pip

<span class="token comment"># &#x67E5;&#x770B;pip&#x7684;&#x5E2E;&#x52A9;</span>
pip <span class="token operator">--</span>help

<span class="token comment"># &#x5347;&#x7EA7;&#x67D0;&#x4E2A;&#x4E09;&#x65B9;&#x5305;&#xFF0C;&#x6709;&#x4E24;&#x79CD;&#x5199;&#x6CD5;&#xFF08;&#x4E00;&#x822C;&#x6765;&#x8BB2;&#x529F;&#x80FD;&#x53EF;&#x4EE5;&#x7528;&#x5C31;&#x65E0;&#x9700;&#x66F4;&#x65B0;&#x5230;&#x6700;&#x65B0;&#x7248;&#x672C;&#xFF0C;&#x56E0;&#x4E3A;&#x53EF;&#x80FD;&#x4E0D;&#x517C;&#x5BB9;&#xFF09;</span>
pip install <span class="token operator">--</span>upgrade &#x5305;&#x540D;
pip install <span class="token operator">-</span>U &#x5305;&#x540D;

<span class="token comment"># &#x5378;&#x8F7D;&#x67D0;&#x4E2A;&#x5305;</span>
pip uninstall &#x5305;&#x540D;

<span class="token comment"># &#x5B89;&#x88C5;&#x4E00;&#x4E2A;wheel&#x5305;&#xFF0C;&#x5982;&#x679C;&#x5DF2;&#x8FDB;&#x5165;whl&#x6587;&#x4EF6;&#x6240;&#x5728;&#x8DEF;&#x5F84;&#xFF0C;&#x76F4;&#x63A5;&#x5199;&#x5B8C;&#x6574;&#x6587;&#x4EF6;&#x540D;&#xFF0C;&#x5426;&#x5219;&#x5199;&#x5B8C;&#x6574;&#x8DEF;&#x5F84;&#xFF08;&#x53EF;&#x52A0;&#x5F15;&#x53F7;&#xFF09;</span>
pip install &#x672C;&#x5730;whl&#x6587;&#x4EF6;&#x540D;

<span class="token comment"># &#x5B89;&#x88C5;&#x6E90;&#x7801;&#x5305;</span>
pip install &#x672C;&#x5730;tar<span class="token punctuation">.</span>gz&#x6587;&#x4EF6;&#x540D;
<span class="token comment"># &#x987A;&#x5E26;&#x4E00;&#x63D0;&#xFF1A;&#x4E5F;&#x53EF;&#x4EE5;&#x5C06;&#x8BE5;&#x538B;&#x7F29;&#x5305;&#x89E3;&#x538B;&#xFF0C;cmd&#x8FDB;&#x5165;&#x89E3;&#x538B;&#x540E;&#x7684;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x8FD0;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#xFF1A;</span>
python setup<span class="token punctuation">.</span>py install

<span class="token comment"># &#x5F53;&#x5305;&#x4E0B;&#x8F7D;&#x8FC7;&#x6162;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x8BBE;&#x7F6E;&#x4F7F;&#x7528;&#x56FD;&#x5185;&#x955C;&#x50CF;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x7F51;&#x4E0A;&#x641C;&#x5230;&#x5F88;&#x591A;&#xFF0C;&#x6211;&#x4EEC;&#x4EE5;&#x6E05;&#x534E;&#x6E90;&#x955C;&#x50CF;&#x4E3A;&#x4F8B;&#xFF1A;</span>
<span class="token comment"># &#x5E2E;&#x52A9;&#x53C2;&#x8003;&#xFF1A;https://mirrors.tuna.tsinghua.edu.cn/help/pypi/</span>
<span class="token comment"># &#x4E34;&#x65F6;&#x4E00;&#x6B21;&#x6027;&#x4F7F;&#x7528;&#xFF1A;</span>
pip install <span class="token operator">-</span>i https:<span class="token operator">/</span><span class="token operator">/</span>pypi<span class="token punctuation">.</span>tuna<span class="token punctuation">.</span>tsinghua<span class="token punctuation">.</span>edu<span class="token punctuation">.</span>cn<span class="token operator">/</span>simple &#x5305;&#x540D;
<span class="token comment"># &#x6C38;&#x4E45;&#x4F7F;&#x7528;&#x914D;&#x7F6E;&#xFF1A;</span>
<span class="token comment"># &#x5148;&#x5347;&#x7EA7;pip&#x6700;&#x65B0;&#x7248;&#xFF08;&#x9700;&#x8981;&gt;=10.0.0&#x7248;&#x672C;&#xFF09;</span>
python <span class="token operator">-</span>m pip install <span class="token operator">--</span>upgrade pip
<span class="token comment"># &#x6CE8;&#x610F;&#x4E0D;&#x8981;&#x4F7F;&#x7528;&#x4E0A;&#x8FF0;&#x7F51;&#x7AD9;&#x8BA9;&#x4F60;&#x7528;&#x7684;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#xFF1A;pip install pip -U&#xFF0C;&#x5B9E;&#x6D4B;&#x5378;&#x8F7D;pip&#x4EE5;&#x540E;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;&#xFF0C;&#x4F1A;&#x62A5;&#x627E;&#x4E0D;&#x5230;pip&#x4E86;</span>
<span class="token comment"># &#x6E90;&#x8BBE;&#x7F6E;&#xFF1A;</span>
pip config <span class="token function">set</span> global<span class="token punctuation">.</span>index<span class="token operator">-</span>url https:<span class="token operator">/</span><span class="token operator">/</span>pypi<span class="token punctuation">.</span>tuna<span class="token punctuation">.</span>tsinghua<span class="token punctuation">.</span>edu<span class="token punctuation">.</span>cn<span class="token operator">/</span>simple
<span class="token comment"># &#x8BBE;&#x7F6E;&#x5B8C;&#x4E4B;&#x540E;&#x6309;&#x5F80;&#x5E38;&#x90A3;&#x6837;&#x5B89;&#x88C5;&#x5305;&#x5373;&#x53EF;</span>

<span class="token comment"># &#x79BB;&#x7EBF;&#x4E0B;&#x8F7D;&#x5305;&#xFF08;&#x5982;&#x679C;&#x5305;&#x4F9D;&#x8D56;&#x4E8E;&#x5176;&#x4ED6;&#x5305;&#xFF0C;&#x4E5F;&#x4F1A;&#x4E00;&#x5E76;&#x4E0B;&#x8F7D;&#xFF09;</span>
pip download &#x5305;&#x540D;
<span class="token comment"># &#x4E0A;&#x8FF0;&#x4F1A;&#x5728;cmd&#x5F53;&#x524D;&#x76EE;&#x5F55;&#x4E0B;&#x8F7D;&#x5305;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x6307;&#x5B9A;&#x4FDD;&#x5B58;&#x76EE;&#x5F55;&#xFF0C;&#x66F4;&#x63A8;&#x8350;</span>
pip download <span class="token operator">-</span>d &#x4FDD;&#x5B58;&#x76EE;&#x5F55; &#x8981;&#x4E0B;&#x8F7D;&#x7684;&#x5305;&#x540D;
<span class="token comment"># &#x6BD4;&#x5982;&#x4E0B;&#x8F7D;&#x4E00;&#x4E2A;ipython&#x5305;</span>
pip download <span class="token operator">-</span>d <span class="token string">&quot;E:\Programs\&#x7F16;&#x7A0B;&#x5F00;&#x53D1;\python3\package\ipython&quot;</span> ipython

<span class="token comment"># &#x5C06;&#x79BB;&#x7EBF;&#x4E0B;&#x8F7D;&#x597D;&#x7684;&#x5305;&#x7ED9;&#x4E0D;&#x80FD;&#x8054;&#x7F51;&#x7684;&#x7535;&#x8111;&#x79BB;&#x7EBF;&#x5B89;&#x88C5;&#xFF1A;</span>
pip install <span class="token operator">--</span>no<span class="token operator">-</span>index <span class="token operator">--</span>find<span class="token operator">-</span>links=&#x4E0B;&#x8F7D;&#x7684;&#x79BB;&#x7EBF;&#x5305;&#x4FDD;&#x5B58;&#x76EE;&#x5F55; &#x5305;&#x540D;
<span class="token comment"># &#x6BD4;&#x5982;&#x5B89;&#x88C5;ipython&#x7684;&#x5305;</span>
pip install <span class="token operator">--</span>no<span class="token operator">-</span>index <span class="token operator">--</span>find<span class="token operator">-</span>links=<span class="token string">&quot;E:\Programs\pythonpackage\for python3\ipython&quot;</span> ipython

<span class="token comment"># &#x51BB;&#x7ED3;&#x9879;&#x76EE;&#x6240;&#x7528;&#x7684;&#x4E09;&#x65B9;&#x5305;&#xFF08;&#x540E;&#x7EED;&#x6211;&#x4EEC;&#x4F1A;&#x8BB2;&#x5230;&#x865A;&#x62DF;&#x73AF;&#x5883;&#xFF0C;&#x53EA;&#x4F1A;&#x51BB;&#x7ED3;&#x865A;&#x62DF;&#x73AF;&#x5883;&#x4E2D;&#x7528;&#x5230;&#x7684;&#x5305;&#xFF09;&#xFF1A;</span>
<span class="token comment"># &#x4F1A;&#x5C06;&#x4E09;&#x65B9;&#x5305;&#x7684;&#x540D;&#x79F0;&#x7248;&#x672C;&#x53F7;&#x5199;&#x8FDB;requirements.txt&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x4E2D;&#xFF0C;&#x4F9B;&#x540E;&#x7EED;&#x6362;&#x7535;&#x8111;&#x79FB;&#x690D;&#x5FEB;&#x901F;&#x6062;&#x590D;&#x4E09;&#x65B9;&#x5305;&#x73AF;&#x5883;&#x4F7F;&#x7528;</span>
<span class="token comment"># &#x7EA6;&#x5B9A;&#x4FD7;&#x79F0;&#x7528;requirements.txt&#xFF0C;&#x4F60;&#x559C;&#x6B22;&#x4E5F;&#x53EF;&#x4EE5;&#x6539;&#x4E3A;&#x5176;&#x4ED6;&#x6587;&#x4EF6;&#x540D;</span>
pip freeze &gt; requirements<span class="token punctuation">.</span>txt
<span class="token comment"># &#x5982;&#x679C;&#x65B0;&#x5B89;&#x88C5;&#x7684;&#x7535;&#x8111;&#x80FD;&#x8054;&#x7F51;</span>
pip install <span class="token operator">-</span>r requirements<span class="token punctuation">.</span>txt
<span class="token comment"># &#x5982;&#x679C;&#x65B0;&#x5B89;&#x88C5;&#x7684;&#x7535;&#x8111;&#x65E0;&#x6CD5;&#x8054;&#x7F51;</span>
<span class="token comment"># &#x5148;&#x627E;&#x53F0;&#x80FD;&#x8054;&#x7F51;&#x7684;&#x7535;&#x8111;&#xFF0C;&#x6279;&#x91CF;&#x4E0B;&#x8F7D;&#x8FD9;&#x4E9B;&#x4E09;&#x65B9;&#x5305;</span>
pip download <span class="token operator">-</span>d <span class="token string">&quot;&#x4FDD;&#x5B58;&#x76EE;&#x5F55;&#x8DEF;&#x5F84;&quot;</span> <span class="token operator">-</span>r requirements<span class="token punctuation">.</span>txt
<span class="token comment"># &#x65B0;&#x7535;&#x8111;&#x6279;&#x91CF;&#x5B89;&#x88C5;&#x672C;&#x5730;&#x79BB;&#x7EBF;&#x5305;</span>
<span class="token comment"># &#x8FD9;&#x91CC;&#x53EF;&#x80FD;&#x7684;&#x62A5;&#x9519;&#x7684;&#x60C5;&#x51B5;&#x662F;&#xFF1A;&#x5F53;&#x5305;&#x5206;py2&#x3001;py3&#x7248;&#x672C;&#x5374;&#x4E0B;&#x8F7D;&#x4E86;&#x9519;&#x8BEF;&#x7248;&#x672C;&#x65F6;&#xFF0C;&#x5F53;python&#x5B89;&#x88C5;&#x7684;&#x662F;32&#x4F4D;&#x7684;&#xFF0C;&#x4F46;&#x5B89;&#x88C5;&#x5305;&#x662F;64&#x4F4D;&#x7684;&#x65F6;&#x3002;</span>
<span class="token comment"># &#x8FD9;&#x65F6;&#x5019;&#x5230;pypi&#x5B98;&#x7F51;&#x4E0B;&#x8F7D;&#x6B63;&#x786E;&#x9002;&#x5408;&#x7684;&#x5305;&#x5373;&#x53EF;&#x3002;</span>
pip install <span class="token operator">--</span>find<span class="token operator">-</span>links=<span class="token string">&quot;&#x4E0B;&#x8F7D;&#x7684;&#x79BB;&#x7EBF;&#x5305;&#x4FDD;&#x5B58;&#x76EE;&#x5F55;&quot;</span> <span class="token operator">-</span>r requirements<span class="token punctuation">.</span>txt

<span class="token comment"># &#x641C;&#x7D22;&#x4E09;&#x65B9;&#x5305;</span>
pip search &#x5305;&#x540D;
</code></pre>
<p>&#x57FA;&#x672C;&#x4E0A;&#x65E5;&#x5E38;&#x5E38;&#x7528;&#x7684;<code>pip</code>&#x547D;&#x4EE4;&#x5C31;&#x8FD9;&#x4E9B;&#xFF0C;&#x5927;&#x5BB6;&#x53EF;&#x4EE5;&#x53EA;&#x8BB0;&#x4F4F;&#x6700;&#x57FA;&#x672C;&#x7684;&#x5728;&#x7EBF;&#x5B89;&#x88C5;&#x547D;&#x4EE4;&#xFF0C;&#x56E0;&#x4E3A;&#x591A;&#x6570;&#x65F6;&#x5019;&#x6211;&#x4EEC;&#x4E5F;&#x53EA;&#x7528;&#x5230;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x800C;&#x5DF2;&#x3002;&#x5176;&#x4ED6;&#x7684;&#x547D;&#x4EE4;&#xFF0C;&#x5148;&#x505A;&#x4E00;&#x4E2A;&#x5927;&#x81F4;&#x4E86;&#x89E3;&#xFF0C;&#x5F53;&#x9700;&#x8981;&#x65F6;&#x518D;&#x56DE;&#x6765;&#x672C;&#x6B21;&#x8BFE;&#x7A0B;&#x67E5;&#x9605;&#x5373;&#x53EF;&#x3002;</p>
<p>&#x672C;&#x8BFE;&#x6D89;&#x53CA;&#x5230;&#x7684;&#x4E00;&#x4E9B;&#x82F1;&#x8BED;&#x5355;&#x8BCD;&#x4E5F;&#x6BD4;&#x8F83;&#x591A;&#xFF0C;&#x6211;&#x6311;&#x4E86;&#x6BD4;&#x8F83;&#x91CD;&#x8981;&#x7684;&#x90FD;&#x5217;&#x4E3E;&#x51FA;&#x6765;&#x4E86;&#xFF0C;&#x5927;&#x5BB6;&#x53EF;&#x4EE5;&#x770B;&#x4E00;&#x4E0B;&#x52A0;&#x5F3A;&#x5B66;&#x4E60;&#x8BB0;&#x5FC6;&#x3002;</p>
<p>&#x5F53;&#x4F60;&#x90FD;&#x8BB0;&#x4F4F;&#x4E4B;&#x540E;&#xFF0C;&#x4E0A;&#x9762;&#x7684;&#x547D;&#x4EE4;&#x7684;&#x8BB0;&#x5FC6;&#x5C31;&#x57FA;&#x672C;&#x4E0D;&#x6210;&#x95EE;&#x9898;&#x4E86;&#xFF08;&#x5077;&#x5077;&#x544A;&#x8BC9;&#x4F60;&#xFF0C;&#x5F88;&#x591A;&#x5176;&#x4ED6;&#x7F16;&#x7A0B;&#x8BED;&#x8A00;&#x7684;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#x7684;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#x7684;&#x547D;&#x4EE4;&#x662F;&#x7C7B;&#x4F3C;&#x7684;&#xFF0C;&#x8BB0;&#x4F4F;&#x4E4B;&#x540E;&#x5BF9;&#x4F60;&#x5F88;&#x6709;&#x5E2E;&#x52A9;&#x54E6;&#xFF09;&#x3002;</p>
<h3 id="&#x5355;&#x8BCD;&#x91CA;&#x4E49;"><a name="&#x5355;&#x8BCD;&#x91CA;&#x4E49;" class="anchor-navigation-ex-anchor" href="#&#x5355;&#x8BCD;&#x91CA;&#x4E49;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5355;&#x8BCD;&#x91CA;&#x4E49;</h3>
<table>
<thead>
<tr>
<th>&#x5355;&#x8BCD;</th>
<th>&#x91CA;&#x4E49;</th>
</tr>
</thead>
<tbody>
<tr>
<td>python package index</td>
<td>python&#x5305;&#x7D22;&#x5F15;&#xFF0C;&#x7B80;&#x79F0;PyPI&#xFF0C;&#x5168;&#x7403;&#x7684;&#x5B98;&#x65B9;python&#x5305;&#x4ED3;&#x5E93;</td>
</tr>
<tr>
<td>search projects</td>
<td>&#x641C;&#x7D22;&#x9879;&#x76EE;</td>
</tr>
<tr>
<td>requests</td>
<td>&#x8BF7;&#x6C42;request&#x7684;&#x590D;&#x6570;</td>
</tr>
<tr>
<td>pip</td>
<td>python&#x7684;&#x4E09;&#x65B9;&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;</td>
</tr>
<tr>
<td>install</td>
<td>&#x5B89;&#x88C5;</td>
</tr>
<tr>
<td>latest version</td>
<td>&#x6700;&#x65B0;&#x7684;&#x7248;&#x672C;</td>
</tr>
<tr>
<td>navigation</td>
<td>&#x5BFC;&#x822A;</td>
</tr>
<tr>
<td>project description</td>
<td>&#x9879;&#x76EE;&#x63CF;&#x8FF0;</td>
</tr>
<tr>
<td>release history</td>
<td>&#x53D1;&#x884C;&#x5386;&#x53F2;</td>
</tr>
<tr>
<td>download files</td>
<td>&#x4E0B;&#x8F7D;&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td>filename, size</td>
<td>&#x6587;&#x4EF6;&#x540D;&#xFF0C;&#x5927;&#x5C0F;</td>
</tr>
<tr>
<td>file type</td>
<td>&#x6587;&#x4EF6;&#x7C7B;&#x578B;</td>
</tr>
<tr>
<td>wheel</td>
<td>&#x8F6E;&#x5B50;</td>
</tr>
<tr>
<td>source</td>
<td>&#x6E90;&#x7801;</td>
</tr>
<tr>
<td>python version</td>
<td>python&#x7684;&#x7248;&#x672C;</td>
</tr>
<tr>
<td>hashes</td>
<td>&#x54C8;&#x5E0C;&#x503C;hash&#x7684;&#x590D;&#x6570;</td>
</tr>
<tr>
<td>scripts</td>
<td>&#x811A;&#x672C;script&#x7684;&#x590D;&#x6570;</td>
</tr>
<tr>
<td>upgrade</td>
<td>&#x5347;&#x7EA7;</td>
</tr>
<tr>
<td>uninstall</td>
<td>&#x5378;&#x8F7D;</td>
</tr>
<tr>
<td>setup</td>
<td>&#x5B89;&#x88C5;</td>
</tr>
<tr>
<td>config</td>
<td>&#x914D;&#x7F6E;</td>
</tr>
<tr>
<td>set</td>
<td>&#x8BBE;&#x7F6E;&#xFF0C;&#x52A8;&#x8BCD;</td>
</tr>
<tr>
<td>global.index-url</td>
<td>global&#x5168;&#x5C40;&#x7684;&#xFF0C;index-url&#x9996;&#x9875;&#x5730;&#x5740;</td>
</tr>
<tr>
<td>download</td>
<td>&#x4E0B;&#x8F7D;</td>
</tr>
<tr>
<td>--no-index</td>
<td>&#x6CA1;&#x6709;&#x7D22;&#x5F15;&#xFF0C;&#x5176;&#x5B9E;&#x6211;&#x4E5F;&#x6CA1;&#x592A;&#x641E;&#x61C2;&#x8FD9;&#x4E2A;&#x53C2;&#x6570;&#x7528;&#x6765;&#x5E72;&#x561B;&#x7684;</td>
</tr>
<tr>
<td>--find-links</td>
<td>&#x5BFB;&#x627E;&#x94FE;&#x63A5;&#xFF0C;&#x540E;&#x9762;&#x7ED9;&#x4E2A;&#x79BB;&#x7EBF;&#x5305;&#x7684;&#x76EE;&#x5F55;&#xFF0C;&#x544A;&#x8BC9;pip&#x5B89;&#x88C5;&#x5305;&#x4ECE;&#x8BE5;&#x76EE;&#x5F55;&#x4E0B;&#x627E;</td>
</tr>
<tr>
<td>freeze</td>
<td>&#x51BB;&#x7ED3;</td>
</tr>
<tr>
<td>requirements</td>
<td>&#x8981;&#x6C42;requirement&#x7684;&#x590D;&#x6570;&#x5F62;&#x5F0F;&#xFF0C;&#x7EA6;&#x5B9A;&#x4FD7;&#x79F0;&#x7684;&#x51BB;&#x7ED3;&#x540E;&#x4FDD;&#x5B58;&#x7684;&#x6587;&#x4EF6;&#x540D;</td>
</tr>
<tr>
<td>search</td>
<td>&#x641C;&#x7D22;</td>
</tr>
</tbody>
</table>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; <a href="http://fox-9.com" target="_blank">&#x96EA;&#x5C71;&#x51CC;&#x72D0;&#x6559;&#x7A0B;</a> all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2020-07-11 22:02:54
</span></footer></body></html>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="6-7 python3小白课：模块内容查看.html" class="navigation navigation-prev " aria-label="Previous page: 6-7 python3小白课：模块内容查看">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="6-9 python3小白课：虚拟环境介绍和安装.html" class="navigation navigation-next " aria-label="Next page: 6-9 python3小白课：虚拟环境介绍和安装">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"6-8 python3小白课：解锁你心仪的三方包","level":"1.8.8","depth":2,"next":{"title":"6-9 python3小白课：虚拟环境介绍和安装","level":"1.8.9","depth":2,"path":"chapter6/6-9 python3小白课：虚拟环境介绍和安装.md","ref":"./chapter6/6-9 python3小白课：虚拟环境介绍和安装.md","articles":[]},"previous":{"title":"6-7 python3小白课：模块内容查看","level":"1.8.7","depth":2,"path":"chapter6/6-7 python3小白课：模块内容查看.md","ref":"./chapter6/6-7 python3小白课：模块内容查看.md","articles":[]},"dir":"ltr"},"config":{"plugins":["favicon","-search","-lunr","-sharing","-livereload","-highlight","prism","prism-themes","fontsettings","back-to-top-button","expandable-chapters-small","code","search-pro","splitter","donate","tbfed-pagefooter","pageview-count","auto-scroll-table","lightbox","anchor-navigation-ex","sitemap-general","ad","image-captions","autotheme","advanced-emoji","flexible-alerts","statistics","push-bd"],"styles":{"website":"/css/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy <a href='http://fox-9.com'>雪山凌狐教程</a>","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prism-themes/themes/prism-material-light.css"]},"ad":{"contentBottom":false},"statistics":{"bd_url":"https://hm.baidu.com/hm.js","cnzz_url":"https://s95.cnzz.com/z_stat.php","google_url":"https://www.googletagmanager.com/gtag/js","bd_token":"605d1993c133629d69ab2701f78d9690"},"splitter":{},"search-pro":{},"auto-scroll-table":{},"code":{"copyButtons":true},"donate":{"alipay":"/python3xiaobaike/assets/alipay-code.jpg","alipayText":"支付宝打赏","button":"赏","title":"","wechat":"/python3xiaobaike/assets/wechatpay-code.jpg","wechatText":"微信打赏"},"sitemap-general":{"prefix":"http://doc.fox-9.com/python3xiaobaike/"},"fontsettings":{"family":"sans","size":2,"theme":"white"},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"fa fa-hand-o-right","level2Icon":"fa fa-hand-o-right","level3Icon":"fa fa-hand-o-right","showLevelIcon":true},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":false,"showLevel":false},"favicon":{"shortcut":"/assets/favicon.ico","bookmark":"/assets/favicon.ico"},"lightbox":{"jquery":true,"sameUuid":false},"push-bd":{},"back-to-top-button":{},"pageview-count":{},"prism-themes":{},"expandable-chapters-small":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"注意"},"note":{"className":"info","icon":"fa fa-info-circle","label":"说明"},"style":"flat","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"提示"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"警告"},"question":{"label":"问题","icon":"fa fa-question-circle","className":"question"}},"autotheme":{"night":[20,21,22,23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],"sepia":[25,25,25,25,25,25],"white":[25,25,25,25,25,25,25,25]},"advanced-emoji":{"embedEmojis":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"image-captions":{"caption":"_CAPTION_","variable_name":"_pictures"}},"theme":"default","author":"雪山凌狐","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"CATALOG_FOR_GITBOOK.md"},"variables":{"_pictures":[{"backlink":"./chapter1/1-1 python3小白课：python语言简介.html#fig1.3.1.1","level":"1.3.1","list_caption":"Figure: 图1-1-1 龟叔","alt":"图1-1-1 龟叔","nro":1,"url":"assets/1-1-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图1-1-1 龟叔","attributes":{},"skip":false,"key":"1.3.1.1"},{"backlink":"./chapter1/1-1 python3小白课：python语言简介.html#fig1.3.1.2","level":"1.3.1","list_caption":"Figure: 图1-1-2 python2的最后一个版本官方博客","alt":"图1-1-2 python2的最后一个版本官方博客","nro":2,"url":"assets/1-1-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图1-1-2 python2的最后一个版本官方博客","attributes":{},"skip":false,"key":"1.3.1.2"},{"backlink":"./chapter1/1-2 python3小白课：python下载.html#fig1.3.2.1","level":"1.3.2","list_caption":"Figure: 图1-2-1 python官网界面","alt":"图1-2-1 python官网界面","nro":3,"url":"assets/1-2-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图1-2-1 python官网界面","attributes":{},"skip":false,"key":"1.3.2.1"},{"backlink":"./chapter1/1-2 python3小白课：python下载.html#fig1.3.2.2","level":"1.3.2","list_caption":"Figure: 图1-2-2 python3.8.2版本安装包","alt":"图1-2-2 python3.8.2版本安装包","nro":4,"url":"assets/1-2-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图1-2-2 python3.8.2版本安装包","attributes":{},"skip":false,"key":"1.3.2.2"},{"backlink":"./chapter1/1-3 python3小白课：python安装.html#fig1.3.3.1","level":"1.3.3","list_caption":"Figure: 图1-3-1 安装界面1","alt":"图1-3-1 安装界面1","nro":5,"url":"assets/1-3-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图1-3-1 安装界面1","attributes":{},"skip":false,"key":"1.3.3.1"},{"backlink":"./chapter1/1-3 python3小白课：python安装.html#fig1.3.3.2","level":"1.3.3","list_caption":"Figure: 图1-3-2 安装界面2","alt":"图1-3-2 安装界面2","nro":6,"url":"assets/1-3-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图1-3-2 安装界面2","attributes":{},"skip":false,"key":"1.3.3.2"},{"backlink":"./chapter1/1-3 python3小白课：python安装.html#fig1.3.3.3","level":"1.3.3","list_caption":"Figure: 图1-3-3 安装界面3","alt":"图1-3-3 安装界面3","nro":7,"url":"assets/1-3-3.jpg","index":3,"caption_template":"_CAPTION_","label":"图1-3-3 安装界面3","attributes":{},"skip":false,"key":"1.3.3.3"},{"backlink":"./chapter1/1-6 python3小白课：使用python IDLE.html#fig1.3.6.1","level":"1.3.6","list_caption":"Figure: 图1-6-1 python shell","alt":"图1-6-1 python shell","nro":8,"url":"assets/1-6-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图1-6-1 python shell","attributes":{},"skip":false,"key":"1.3.6.1"},{"backlink":"./chapter1/1-6 python3小白课：使用python IDLE.html#fig1.3.6.2","level":"1.3.6","list_caption":"Figure: 图1-6-2 python IDLE写py文件","alt":"图1-6-2 python IDLE写py文件","nro":9,"url":"assets/1-6-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图1-6-2 python IDLE写py文件","attributes":{},"skip":false,"key":"1.3.6.2"},{"backlink":"./chapter1/1-7 python3小白课：使用python shell.html#fig1.3.7.1","level":"1.3.7","list_caption":"Figure: 图1-7-1 进入python shell","alt":"图1-7-1 进入python shell","nro":10,"url":"assets/1-7-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图1-7-1 进入python shell","attributes":{},"skip":false,"key":"1.3.7.1"},{"backlink":"./chapter1/1-7 python3小白课：使用python shell.html#fig1.3.7.2","level":"1.3.7","list_caption":"Figure: 图1-7-2 python shell代码测试","alt":"图1-7-2 python shell代码测试","nro":11,"url":"assets/1-7-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图1-7-2 python shell代码测试","attributes":{},"skip":false,"key":"1.3.7.2"},{"backlink":"./chapter6/6-8 python3小白课：解锁你心仪的三方包.html#fig1.8.8.1","level":"1.8.8","list_caption":"Figure: 图6-8-1 pypi官网首页","alt":"图6-8-1 pypi官网首页","nro":12,"url":"assets/6-8-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图6-8-1 pypi官网首页","attributes":{},"skip":false,"key":"1.8.8.1"},{"backlink":"./chapter6/6-8 python3小白课：解锁你心仪的三方包.html#fig1.8.8.2","level":"1.8.8","list_caption":"Figure: 图6-8-2 requests搜索结果","alt":"图6-8-2 requests搜索结果","nro":13,"url":"assets/6-8-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图6-8-2 requests搜索结果","attributes":{},"skip":false,"key":"1.8.8.2"},{"backlink":"./chapter6/6-8 python3小白课：解锁你心仪的三方包.html#fig1.8.8.3","level":"1.8.8","list_caption":"Figure: 图6-8-3 包的内页","alt":"图6-8-3 包的内页","nro":14,"url":"assets/6-8-3.jpg","index":3,"caption_template":"_CAPTION_","label":"图6-8-3 包的内页","attributes":{},"skip":false,"key":"1.8.8.3"},{"backlink":"./chapter6/6-8 python3小白课：解锁你心仪的三方包.html#fig1.8.8.4","level":"1.8.8","list_caption":"Figure: 图6-8-4 下载文件页面","alt":"图6-8-4 下载文件页面","nro":15,"url":"assets/6-8-4.jpg","index":4,"caption_template":"_CAPTION_","label":"图6-8-4 下载文件页面","attributes":{},"skip":false,"key":"1.8.8.4"},{"backlink":"./chapter6/6-9 python3小白课：虚拟环境介绍和安装.html#fig1.8.9.1","level":"1.8.9","list_caption":"Figure: 图6-9-1 新建系统环境变量WORKON_HOME","alt":"图6-9-1 新建系统环境变量WORKON_HOME","nro":16,"url":"assets/6-9-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图6-9-1 新建系统环境变量WORKON_HOME","attributes":{},"skip":false,"key":"1.8.9.1"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.1","level":"1.8.10","list_caption":"Figure: 图6-10-1 创建test虚拟环境","alt":"图6-10-1 创建test虚拟环境","nro":17,"url":"assets/6-10-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图6-10-1 创建test虚拟环境","attributes":{},"skip":false,"key":"1.8.10.1"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.2","level":"1.8.10","list_caption":"Figure: 图6-10-2 退出虚拟环境","alt":"图6-10-2 退出虚拟环境","nro":18,"url":"assets/6-10-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图6-10-2 退出虚拟环境","attributes":{},"skip":false,"key":"1.8.10.2"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.3","level":"1.8.10","list_caption":"Figure: 图6-10-3 workon激活虚拟环境test","alt":"图6-10-3 workon激活虚拟环境test","nro":19,"url":"assets/6-10-3.jpg","index":3,"caption_template":"_CAPTION_","label":"图6-10-3 workon激活虚拟环境test","attributes":{},"skip":false,"key":"1.8.10.3"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.4","level":"1.8.10","list_caption":"Figure: 图6-10-4 虚拟环境下的pip","alt":"图6-10-4 虚拟环境下的pip","nro":20,"url":"assets/6-10-4.jpg","index":4,"caption_template":"_CAPTION_","label":"图6-10-4 虚拟环境下的pip","attributes":{},"skip":false,"key":"1.8.10.4"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.5","level":"1.8.10","list_caption":"Figure: 图6-10-5 删除虚拟环境test","alt":"图6-10-5 删除虚拟环境test","nro":21,"url":"assets/6-10-5.jpg","index":5,"caption_template":"_CAPTION_","label":"图6-10-5 删除虚拟环境test","attributes":{},"skip":false,"key":"1.8.10.5"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.6","level":"1.8.10","list_caption":"Figure: 图6-10-6 python3.6.6安装","alt":"图6-10-6 python3.6.6安装","nro":22,"url":"assets/6-10-6.jpg","index":6,"caption_template":"_CAPTION_","label":"图6-10-6 python3.6.6安装","attributes":{},"skip":false,"key":"1.8.10.6"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.7","level":"1.8.10","list_caption":"Figure: 图6-10-7 创建python3.6.6的虚拟环境","alt":"图6-10-7 创建python3.6.6的虚拟环境","nro":23,"url":"assets/6-10-7.jpg","index":7,"caption_template":"_CAPTION_","label":"图6-10-7 创建python3.6.6的虚拟环境","attributes":{},"skip":false,"key":"1.8.10.7"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.8","level":"1.8.10","list_caption":"Figure: 图6-10-8 python2.7.18安装","alt":"图6-10-8 python2.7.18安装","nro":24,"url":"assets/6-10-8.jpg","index":8,"caption_template":"_CAPTION_","label":"图6-10-8 python2.7.18安装","attributes":{},"skip":false,"key":"1.8.10.8"},{"backlink":"./chapter6/6-10 python3小白课：虚拟环境使用.html#fig1.8.10.9","level":"1.8.10","list_caption":"Figure: 图6-10-9 创建python2.7.18的虚拟环境","alt":"图6-10-9 创建python2.7.18的虚拟环境","nro":25,"url":"assets/6-10-9.jpg","index":9,"caption_template":"_CAPTION_","label":"图6-10-9 创建python2.7.18的虚拟环境","attributes":{},"skip":false,"key":"1.8.10.9"},{"backlink":"./chapter7/7-1 python3小白课：一节课搞懂面向对象.html#fig1.9.1.1","level":"1.9.1","list_caption":"Figure: 图7-1-1 暖风机","alt":"图7-1-1 暖风机","nro":26,"url":"assets/7-1-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图7-1-1 暖风机","attributes":{},"skip":false,"key":"1.9.1.1"},{"backlink":"./chapter7/7-1 python3小白课：一节课搞懂面向对象.html#fig1.9.1.2","level":"1.9.1","list_caption":"Figure: 图7-1-2 会摇头的暖风机","alt":"图7-1-2 会摇头的暖风机","nro":27,"url":"assets/7-1-2.jpg","index":2,"caption_template":"_CAPTION_","label":"图7-1-2 会摇头的暖风机","attributes":{},"skip":false,"key":"1.9.1.2"},{"backlink":"./chapter7/7-1 python3小白课：一节课搞懂面向对象.html#fig1.9.1.3","level":"1.9.1","list_caption":"Figure: 图7-1-3 会摇头的冷风机","alt":"图7-1-3 会摇头的冷风机","nro":28,"url":"assets/7-1-3.jpg","index":3,"caption_template":"_CAPTION_","label":"图7-1-3 会摇头的冷风机","attributes":{},"skip":false,"key":"1.9.1.3"},{"backlink":"./chapter7/7-7 python3小白课：重写父类方法和使用super函数.html#fig1.9.7.1","level":"1.9.7","list_caption":"Figure: 图7-7-1 鸡的图片","alt":"图7-7-1 鸡的图片","nro":29,"url":"assets/7-7-1.jpg","index":1,"caption_template":"_CAPTION_","label":"图7-7-1 鸡的图片","attributes":{},"skip":false,"key":"1.9.7.1"}]},"title":"python3小白课笔记","language":"zh-hans","links":{"sidebar":{"雪山凌狐教程":"http://fox-9.com"}},"gitbook":"3.2.3","description":"python3小白课，让你不再惧怕python的入门学习"},"file":{"path":"chapter6/6-8 python3小白课：解锁你心仪的三方包.md","mtime":"2020-07-11T14:02:54.920Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-09-14T10:02:56.416Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-auto-scroll-table/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ad/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-autotheme/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-statistics/statistics.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-push-bd/plugin.js"></script>
        
    

    </body>
</html>

